package com.example.videoworks.service;

import com.example.videoworks.common.Page;
import com.example.videoworks.controller.request.GetListRequest;
import com.example.videoworks.entity.Principal;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.IOException;
import java.io.OutputStream;
import java.util.List;
import org.springframework.web.multipart.MultipartFile;
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Lily
 * @since 2023-05-11
 */
public interface IPrincipalService extends IService<Principal> {
    Page<Principal> getPrincipalListByName(GetListRequest request,String name);

    Page<Principal> getPrincipalListByProfession(GetListRequest request, String profession);

    Page<Principal> getPrincipalListByBirthYear(GetListRequest request, String birthYear);

    Principal getPrincipalById(String personId);


}
